DevOwl\RealCookieBanner\Utils C

Total Complexity 115
Dependencies 3
Dependents 25
Total lines 624
Lines of code 367
Logical lines of code 194
Comment lines 240
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
isPageBuilder()
A
54 17 17
setCookie()
A
38 10 84
isFrontend()
A
57 9 17
removeNonPermalinkQueryFromUrl()
S
51 7 25
host()
S
54 7 20
isPluginActive()
S
55 6 19
isRest()
S
57 6 15
isDownload()
S
60 5 13
posts_where_find_in_set()
S
55 4 18
currentContentTypeIs()
S
60 4 13
getOriginalHomeUrl()
S
60 4 12
getIpAddress()
S
61 4 12
array_flatten()
S
62 4 11
getActivePluginsMap()
S
60 3 13
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
isThemeActive()
S
61 2 11
isCLI()
S
78 2 3
get_admin_colors()
S
68 2 6
endsWith()
S
68 2 7
hash()
S
65 2 8
anyPluginActive()
S
72 2 4
isPreinstalledEnvironment()
S
68 2 7
flatten()
S
67 2 8
getRequestUrl()
S
69 2 6
startsWith()
S
74 1 4